package com.sunday.pinxinghui.entity;

import java.math.BigDecimal;

/**
 * Created by 刘涛 on 2017/8/15.
 */

public class Product {

    /**
     * productId : 7
     * productName : 菠萝梨
     * image : http://ol-quan2017.oss-cn-shanghai.aliyuncs.com/imgs/c2ee80252ba6f5ba4b49366be1f035a47b958401
     * price : 28.80
     * costPrice : 28.80
     * vipPrice : 27.80
     * score : 0
     * type : 2
     * saleCount
     *产品条件搜索 type: 1普通产品 2秒杀产品 3限时购产品
     */

    private long productId;
    private String productName;
    private String image;
    private BigDecimal price;
    private BigDecimal costPrice;
    private BigDecimal vipPrice;
    private int score;
    private int type;
    private int saleCount;
    private int status;
    protected int store;

    public long getProductId() {
        return productId;
    }

    public void setProductId(long productId) {
        this.productId = productId;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }



    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getSaleCount() {
        return saleCount;
    }

    public void setSaleCount(int saleCount) {
        this.saleCount = saleCount;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getVipPrice() {
        return vipPrice;
    }

    public void setVipPrice(BigDecimal vipPrice) {
        this.vipPrice = vipPrice;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getStore() {
        return store;
    }

    public void setStore(int store) {
        this.store = store;
    }
}
